<?php

namespace app\index\controller;
use think\Request;
use think\Session;

abstract class Base{
 final function __construct(){
     $request=Request::instance();//拿到当前请求信息
    $url=strtolower('/'.$request->controller().'/'.$request->action());
     $accessUrls=Session::get('accessUrls');
     header('HTTP/1.1 403');
     header('Content-Type:application/json; charset=UTF-8');
     echo  '[请登录后访问]';
     die;
   /*  print_r($accessUrls);
    echo $url;
    die;*/
 }

}
